package org.wlc.service;


import org.wlc.dao.UserDao;
import org.wlc.dao.UserDao2;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * @author 王立朝
 * @description 构造器注入
 * @date 2021-11-15 14:19:59
 */
public class UserService2 {



    /**
     * java bean注入
     *  构造器注入
     */
    private UserDao2 userDao2;

    //public UserService2(UserDao2 userDao2) {
    //    this.userDao2 = userDao2;
    //}


    public void setUserDao2(UserDao2 userDao2) {
        this.userDao2 = userDao2;
    }

    public void test() {
        System.out.println("service test...");

    }
}
